/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Decorator;

/**
 *
 * @author MBG
 */
public class Evento {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        Tuning carro = new NissanSkyline();
        carro = new Carroceria(carro);
        carro = new Turbo(carro);
        carro = new Llantas(carro);
        carro = new Alerones(carro);
        
        System.out.println(carro.getDescripcion());
        System.out.println("Su precio es: "+ carro.getPrecio());
    }
}
